package com.tjetc.test.mapper;

import com.tjetc.test.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    int insertUser(User user);

    User selectUserById(int id);

    List<User> selectUserByName(String name);

    int selectUserTotalCountByName(String name);
}
